package com.cc.model.dto

import jakarta.validation.constraints.NotNull
import jakarta.validation.constraints.Size
import java.io.Serializable
import java.time.LocalDateTime

/**
 * DTO for {@link com.cc.model.ScriptRecord}
 */
data class ScriptRecordDto(
    @field:NotNull @field:Size(max = 32) val id: String? = null,
    @field:Size(max = 32) val recordScriptId: String? = null,
    val startTime: LocalDateTime? = null,
    val stopTime: LocalDateTime? = null,
    val recordStatus: Int? = null,
    @field:Size(max = 200) val logFilePath: String? = null,
    val addTime: LocalDateTime? = null,
    @field:Size(max = 32) val addUser: String? = null,
    val editTime: LocalDateTime? = null,
    @field:Size(max = 32) val editUser: String? = null,
    val delFlag: Int? = null,
    @field:Size(max = 32) val categoryId: String? = null
) : Serializable